body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background: #f0f2f5;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    color: #1a73e8;
    text-align: center;
    margin-bottom: 30px;
}

.chat-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

#messages {
    height: 500px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.message {
    margin: 10px 0;
    padding: 12px;
    border-radius: 15px;
    max-width: 80%;
}

.message.user {
    background: #e8f0fe;
    margin-left: auto;
}

.message.bot {
    background: #f1f3f4;
    margin-right: auto;
}

.input-area {
    display: flex;
    gap: 10px;
}

input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
}

button {
    padding: 12px 25px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #1557b0;
}